package threads.bl.chapt14;

public class DemoWait {

	private static Blocked lock = new Blocked();
	
	void demoStart()
	{
		new Thread(){
			@Override
			public void run() {
				lock.doWait();
				super.run();
			}
		}.start();
	}
	
}
